package com.cs.study.homework._0304;

import java.io.*;
import java.util.Arrays;

public class Demo {
    public static void main(String[] args) throws IOException {
        FileInputStream in = new FileInputStream("E:\\a\\demo.txt");
        FileOutputStream out = new FileOutputStream("E:\\a\\demo.txt",true);

        byte[] bytes = new byte[26];
        int readData = in.read(bytes);
        Arrays.sort(bytes);

        out.write("\r\n".getBytes());
        out.write(bytes);



    }

}
